# 4-15
# import copy
# dictionary = {'卷心菜': 'cabbage', '午餐': ['lunch', 'nooning']}
# dictionary_01 = dictionary
# dictionary_02 = dictionary.copy()
# dictionary_03 = copy.deepcopy(dictionary)
# dictionary['卷心菜'] = 'pamphrey'
# dictionary['午餐'].remove('nooning')
# print('dictionary =', dictionary)
# print('dictionary_01 =', dictionary_01)
# print('dictionary_02=', dictionary_02)
# print('dictionary_03=', dictionary_03)

# 4-16
dictionary = {
    '卷心菜': 'cabbage',
    '午餐': 'lunch',
    '机器人': 'robot',
    '天空': 'sky',
    '花': 'flower'
}
print('中英文字典中所以中文词组及其对应的英文单词：')
for item in dictionary.items():
    print(item)
print('中英文字典中所以中文词组：')
for chinese in dictionary.keys():
    print(chinese, end=' ')
print('\n中英文字典中所以的英文单词：')
for english in dictionary.values():
    print(english, end=' ')